Edit CONFIG.SYS
The CONFIG.SYS file contains system configuration information/commands. When it exists (almost always), it is the first file executed when the computer is turned on or rebooted.
To EDIT CONFIG.SYS file use the appropriate procedure steps for the current environment:
1) Edit CONFIG.SYS from MS-DOS:
a) Type the following commands at the DOS prompt and press ENTER:
COPY <drive>:\CONFIG.SYS <drive>:\CONFIG.OLD
(where <drive> is the letter of the hard drive that contains AUTOEXEC.BAT).
EDIT <drive>:\CONFIG.SYS
(where <drive> is the letter of the hard drive that contains AUTOEXEC.BAT).
b) Use the arrow keys to move to the line(s) to be changed.
c) Add new command lines or edit existing lines.
d) Review all changes, checking for correct spelling (e.g., commands, directories, filenames) and command syntax.
e) Select the 'File' menu and select 'Save'.
f) Select the 'File' menu and select 'Exit'.
g) Press CTRL+ALT+DEL to reboot computer for changes to take effect.
2) Edit CONFIG.SYS in WINDOWS 95:
a) Click the 'Start' button to display the 'Start' menu.
b) Select 'Programs', 'Accessories', and 'Notepad'. (A blank document appears.)
c) In Notepad, select the 'File' menu and select 'Open...'. (The 'Open' dialog box appears.)
d) Type the following in the 'File name' box:
<drive>:\CONFIG.SYS
(where <drive> is the letter of the hard drive containing CONFIG.SYS).
e) Click 'Open'.
f) Select the 'File' menu and select 'Save As...'. (The 'Save As' dialog box appears.)
g) Type the following in the 'File name' box:
<drive>:\CONFIG.OLD
(where <drive> is the letter of the hard drive containing CONFIG.SYS).
h) Click 'Save'.
i) Use the arrow keys to move to the line(s) to be changed.
j) Add new command lines or edit existing lines.
k) Review all changes, checking for correct spelling and command syntax.
l) Select the 'File' menu and select 'Save As...'. (The 'Save As' dialog box appears.)
m) Type the following in the 'File name' box:
<drive>:\CONFIG.SYS
(where <drive> is the letter of the hard drive containing CONFIG.SYS).
n) Click 'Save'. (The 'Save As' dialog box appears.)
o) Click 'Yes' to save changes.
p) Select the 'File' menu and select 'Exit'.
q) Restart the computer for the changes to take effect.
3) If unable to save/overwrite CONFIG.SYS, exit without saving changes and change the file attributes on CONFIG.SYS. Then re-edit file, make changes, save as CONFIG.SYS and exit editor.
a) Enter the following command at the DOS prompt:
ATTRIB -x CONFIG.SYS
(Where x is the attribute to be removed)
b) EXAMPLES:
1] To remove Read-only attribute enter the following command:
ATTRIB -R CONFIG.SYS
2] To remove Hidden attribute enter the following command:
ATTRIB -H CONFIG.SYS